<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="./common/images/favicon.png">

    <title>兼贝管理后台</title>

    {{--iview--}}
    <link rel="stylesheet" href="{{ URL::asset('/include/iview/styles/iview.css')}}">
    <!-- Bootstrap core CSS -->
    <link href="{{ URL::asset('/system/js/bootstrap/dist/css/bootstrap.css')}}" rel="stylesheet"/>
    <link rel="stylesheet" href="{{ URL::asset('/system/assets/fonts/font-awesome-4/css/font-awesome.min.css')}}">
    <link href="{{ URL::asset('/system/assets/css/style.css')}}" rel="stylesheet"/>

    <link href="https://cdn.bootcss.com/bootstrap-lightbox/0.7.0/bootstrap-lightbox.min.css" rel="stylesheet">


@section('css')

    @show

</head>
<body>
<!-- Fixed navbar -->
<div id="head-nav" class="navbar navbar-default navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="fa fa-gear"></span>
            </button>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="profile_menu">
                    <a href="/admin/task/lists">
                        <img src="{{ URL::asset('/system/assets/img/1.jpg')}}"/>
                        <p>任务管理</p>
                    </a>
                </li>
                @if(in_array($auth['auth'],['group_a','group_b','group_d']))
                    <li class="profile_menu">
                        <a href="/admin/task/create">
                            <img src="{{ URL::asset('/system/assets/img/2.jpg')}}"/>
                            <p>任务发布</p>
                        </a>
                    </li>
                @endif
                @if(in_array($auth['auth'],['group_a','group_b']))
                    <li class="profile_menu">
                        <a href="/admin/task/verifyTaskLists">
                            <img src="{{ URL::asset('/system/assets/img/3.jpg')}}"/>
                            <p>任务审核</p>
                        </a>
                    </li>
                @endif
                @if(in_array($auth['auth'],['group_a','group_c']))
                <li class="profile_menu">
                    <a href="/admin/task/verifyCashLists">
                        <img src="{{ URL::asset('/system/assets/img/4.jpg')}}"/>
                        <p>提现审核</p>
                    </a>
                </li>
                @endif
                <li class="profile_menu">
                    <a href="/admin/user/">
                        <img src="{{ URL::asset('/system/assets/img/5.jpg')}}"/>
                        <p>客户管理</p>
                    </a>
                </li>
                <li class="profile_menu">
                    <a href="/admin/manager/myPower">
                        <img src="{{ URL::asset('/system/assets/img/6.jpg')}}"/>
                        <p>后台管理</p>
                    </a>
                </li>
                @if(in_array($auth['auth'],['group_a']))
                <li class="profile_menu">
                    <a href="/admin/company">
                        <img src="{{ URL::asset('/system/assets/img/6.jpg')}}"/>
                        <p>企业申请</p>
                    </a>
                </li>
                @endif
            </ul>

        </div>
    </div>

</div>

@section('content')

@show

<script type="text/javascript" src="{{ URL::asset('/system/js/jquery.js')}}"></script>
<script src="{{ URL::asset('/system/js/bootstrap/dist/js/bootstrap.min.js')}}"></script>

<script src="{{ URL::asset('/include/vue/vue.js')}}"></script>
<script src="{{ URL::asset('/include/vue-resource/vue-resource.js')}}"></script>
<script src="{{ URL::asset('/include/iview/iview.min.js')}}"></script>

<script src="{{ URL::asset('/js/common.js')}}"></script>

<script src="https://cdn.bootcss.com/bootstrap-lightbox/0.7.0/bootstrap-lightbox.min.js"></script>

@section('script')

@show
</body>

</html>
